<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
	<title>Terapia del Dolor - Aplicación</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="lang" content="es" />
	<meta name="robots" content="noindex,nofollow" />
	<link rel="icon" href="/favicon.png" type="image/png" />
	<link rel="stylesheet" type="text/css" media="screen" href="/css/main.css" />
	<script type="text/javascript" src="/js/jquery-1.7.min.js"></script>
	<script type="text/javascript" src="/js/functions.js"></script>
</head>
<body>
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
	<tr height="20">
		<td width="20" style="background: url(images/bkg_tl.gif) no-repeat right bottom; font-size: 1px"></td>
		<td>
			<table cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr height="100%">
					<td width="10" style="background: url(images/bkg_tlt.gif) no-repeat left bottom; font-size: 1px">&nbsp;</td>
					<td style="background: url(images/bkg_t.gif) repeat-x left bottom; font-size: 1px">&nbsp;</td>
					<td width="10" style="background: url(images/bkg_trt.gif) no-repeat right bottom; font-size: 1px">&nbsp;</td>
				</tr>
			</table>
		</td>
		<td width="20" style="background: url(images/bkg_tr.gif) no-repeat left bottom; font-size: 1px">&nbsp;</td>
	</tr>
	<tr valign="top">
		<td width="20" height="100%">
			<table cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr height="10"><td style="background: url(images/bkg_tll.gif) no-repeat right top; font-size: 1px">&nbsp;</td></tr>
				<tr><td style="background: url(images/bkg_l.gif) repeat-y right top; font-size: 1px">&nbsp;</td>
				<tr height="10"><td style="background: url(images/bkg_bll.gif) no-repeat right bottom; font-size: 1px">&nbsp;</td></tr>
			</table>
		</td>
		<td bgcolor="#ffffff">
			<table cellspacing="0" cellpadding="0" width="100%" height="100%" style="border-width: 1px; border-style: solid; border-color: #ffffff">
				<tr height="42">
					<td width="40%" class="mainTitle">Terapia del Dolor</td>
					<td width="60%" class="date" align="right">
						{fecha}
					</td>
				</tr>
				<tr height="6"><td colspan="2" class="lightBlue">&nbsp;</td></tr>
				<tr height="10"><td colspan="2" class="headerImage">&nbsp;</td></tr>
				<tr valign="top" height="100%"><td colspan="2">
					<table cellspacing="0" cellpadding="0" width="100%" height="100%">
						<tr valign="top">
							<td id="leftColumn">
								<div id="userBox">
									Est&aacute; conectado como<br>
									<b>Dr Kinxos</b><br>
									<input type="button" name="disconnect" value="Desconectar" class="disconnect" onclick="self.location.href = 'logout.php';">
								</div>
								<div id="menu">
									<div class="epigraph">Pacientes&nbsp;&nbsp;</div>
									<ul>
										<li><a href="fichapaciente.php">Nuevo paciente</a></li>
										<li><a href="listpacientes.php">Listado de pacientes</a></li>
										<li><a href="buscapacientes.php">B&uacute;squeda por par&aacute;metros</a></li>
									</ul>
									<div class="epigraph">Estad&iacute;sticas</div>
									<ul>
										<li><a href="porcentajes.php">Porcentajes</a></li>
									</ul>
									<div class="epigraph">Administraci&oacute;n&nbsp;&nbsp;</div>
									<ul>
										<li><a href="listaseguradoras.php">Compa&ntilde;&iacute;as aseguradoras</a></li>
										<li><a href="listalergias.php">Alergias</a></li>
										<li><a href="listantecmedic.php">Antecedentes personales</a></li>
										<li><a href="listantecquirur.php">Antecedentes quir&uacute;rgicos</a></li>
										<li><a href="listtratamhabit.php">Tratamientos habituales</a></li>
										<li><a href="listdiagnos.php">Diagn&oacute;sticos</a></li>
										<li><a href="listplanterapeut.php">Planes terap&eacute;uticos</a></li>
										<li><a href="listtratamfarma.php">Tratamientos farmacol&oacute;gicos</a></li>
										<li><a href="listtrataminvas.php">Tratamientos invasivos</a></li>
										<li><a href="listexplorcom.php">Exploraciones complementarias</a></li>
									</ul>
								</div>
							</td>
							<td id="content">
								<div class="title">Sección</div>
								<?php echo $this->layout()->content; ?>
							</td>
						</tr>
					</table>
				</td></tr>
				<tr height="10"><td colspan="2" class="footerImage">&nbsp;</td></tr>
				<tr height="6"><td colspan="2" class="lightBlue">&nbsp;</td></tr>
				<tr height="20">
					<td colspan="2" class="credits">v 2.0 | <?=date("Y")?></td>
				</tr>
			</table>
		</td>
		<td width="20" height="100%">
			<table cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr height="10"><td style="background: url(images/bkg_trr.gif) no-repeat left top; font-size: 1px">&nbsp;</td></tr>
				<tr><td style="background: url(images/bkg_r.gif) repeat-y left top; font-size: 1px">&nbsp;</td>
				<tr height="10"><td style="background: url(images/bkg_brr.gif) no-repeat left bottom; font-size: 1px">&nbsp;</td></tr>
			</table>
		</td>
	</tr>
	<tr height="20">
		<td width="20" style="background: url(images/bkg_bl.gif) no-repeat right top; font-size: 1px">&nbsp;</td>
		<td>
			<table cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr height="100%">
					<td width="10" style="background: url(images/bkg_blb.gif) no-repeat left top; font-size: 1px">&nbsp;</td>
					<td style="background: url(images/bkg_b.gif) repeat-x left top; font-size: 1px">&nbsp;</td>
					<td width="10" style="background: url(images/bkg_brb.gif) no-repeat right top; font-size: 1px">&nbsp;</td>
				</tr>
			</table>
		</td>
		<td width="20" style="background: url(images/bkg_br.gif) no-repeat left top; font-size: 1px">&nbsp;</td>
	</tr>
</table>
</body>
</html>
